/*
 * Tuple.h
 *
 *  Created on: 06/02/2014
 *      Author: Bruno
 */

#ifndef TUPLE_H_
#define TUPLE_H_

class Tuple {
private:
	int * array;
	int length; //cantidad de actividades
public:
	Tuple(int length);
	Tuple(int length, int* array);
	Tuple* copy();
	int* getArray();
	int lastAct();
	int time();
	int cost();
	int getLength();
	int times(int act);
	int modes(int act);
	void lastAct(int a);
	void sigAct();
	void time(int t);
	void cost(int c);
	void times(int act, int t);
	void modes(int act, int m);
	bool isSolution();
	virtual ~Tuple();
};

//Tuple& operator=(const Tuple&);

#endif /* TUPLE_H_ */
